﻿<%@ Page Title="吴江旅游网" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    Inherits="Wjtour.Web.Front.index" %>

<%@ Import Namespace="Wjtour.Domain" %>
<%@ Import Namespace="Wjtour.Common" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .carousel-control
        {
            position: absolute;
            top: 350px;
            left: 230px;
            width: 40px;
            height: 40px;
            margin-top: -20px;
            font-size: 60px;
            font-weight: 100;
            line-height: 30px;
            color: #ffffff;
            text-align: center;
            background: none;
            border: 0;
            -webkit-border-radius: 0px;
            -moz-border-radius: 0px;
            border-radius: 0px;
            opacity: 1;
            filter: alpha(opacity=100);
        }

            .carousel-control.right
            {
                right: 230px;
                left: auto;
            }
    </style>
    <script type="text/javascript">
        $(document).ready(function () {
            // 小幻灯
            $("#ctr2 .JQ-slide").Slide({
                effect: "scroolX",
                speed: "normal",
                timer: 2000
            });
            // 大幻灯
            $('.carousel').carousel({ interval: false });
            $("#slider1").nbspSlider({
                width: "661px",
                height: "230px",
                effect: "fade",
                numBtnSty: "circle",
                autoplay: 1,
                speeds: 500,
                delays: 5000,
                altHeight: '70px',  		// ALT区块高度
                altShow: 1,				// ALT区块是否显示(1为是0为否)
                altFontColor: 'red',        // ALT区块内的字体颜色
                btnFontColor: 'red',        // 数字按钮的数字颜色
                btnBorderColor: '#ccc',        // 数字按钮边框颜色
                btnBgColor: 'blue',		// 数字按钮背景颜色
                btnActBgColor: '#fff',		// 数字按钮选中的背景
                starEndNoEff: 1
            });

            // 六要素
            $('.travelbox').css('display', 'none');
            $('.travelbox:eq(0)').css('display', 'block');

            $('.littlenav img').click(function () {
                var index = $('.littlenav img').index($(this));
                for (var i = 0; i <= 5; i++) {
                    $('.littlenav img:eq(' + i + ')').attr('src', 'css/images/littlenav' + (i + 1) + 'a.png');
                }
                $('.travelbox').css('display', 'none');
                $('.littlenav img:eq(' + index + ')').attr('src', 'css/images/littlenav' + (index + 1) + 'b.png');
                $('.travelbox:eq(' + index + ')').css('display', 'block');
            });

            // 小幻灯切换
            $('.play').css('display', 'none');
            $('.play:eq(0)').css('display', 'block');
            $('.title:eq(0)').css('background', '#7db6d3');

            $('.title').click(function () {
                var index = $('.title').index($(this));
                $('.title').css('background', '#a5a5a5');
                $('.title:eq(' + index + ')').css('background', '#7db6d3');
                $('.play').css('display', 'none');
                $('.play:eq(' + index + ')').css('display', 'block');
            });
        });
        // 工具
        var changebg = (function (id) {
            $('#tool').attr('src', 'css/images/tool0' + id + '.png');
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">


    <!--页主体-->
    <div class="ipage indexpage">
        <!--左侧-->
        <div class="pageleft">

            <div class="activeshow">
                <div class="morelink"><a href="activity.aspx">&nbsp;</a></div>
                <div id="slider1">
                    <ul>
                        <%if (_activities != null && _activities.Count > 0)
                          {
                              int index = 0;
                              foreach (var item in _activities)
                              {
                                  index++;
                        %>
                        <li><a href="javascript:void(0);">
                            <img src="<%=item.img %>" alt="<img src=css/images/num0<%=index %>.png align=middle /><a href=activityshow.aspx?id=<%=item.id %>><%=Utility.CutString(item.title,20,false) %></a>" /></a></li>
                        <%}
                          } %>
                    </ul>
                </div>
                <div class="wordsshow"></div>

            </div>
            <div class="box"></div>
            <img src="css/images/img01.png" /><div class="littlenav">
                <img src="css/images/littlenav1b.png" /><img src="css/images/littlenav2a.png" /><img src="css/images/littlenav3a.png" /><img src="css/images/littlenav4a.png" /><img src="css/images/littlenav5a.png" /><img src="css/images/littlenav6a.png" />
            </div>
            <!--吃-->
            <div class="travelbox">
                <div class="trvleft">
                    <h4>特色菜肴小吃<span><a href="specialfood.aspx">MORE</a></span></h4>
                    <%if (caiyao != null && caiyao.Count > 0)
                      {
                          var firstCY = caiyao.First();
                          if (firstCY.isrecommend == 1)
                          {
                    %>
                    <img src="css/images/commend.png" class="cmd" />
                    <%
                          }
                          if (!string.IsNullOrEmpty(firstCY.logo))
                          {
                    %>
                    <img src="<%=firstCY.logo %>" class="mark" />
                    <%}
                          else
                          { %>
                    <img src="css/images/tmp03.png" class="mark" />
                    <%} %>
                    <div>
                        <strong><%=firstCY.title %></strong>
                        <%=Utility.CutString(Utility.StripHtml(firstCY.introduce),25,true) %><a href="fooddetail.aspx?id=<%=firstCY.id %>" target="_blank">【详情】</a>
                    </div>
                    <ul>
                        <%for (int i = 1; i < caiyao.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var cy = caiyao[i];
                        %>
                        <li><span><%=tag %></span><a href="fooddetail.aspx?id=<%=cy.id %>" target="_blank"><%=Utility.CutString(cy.title,9,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>

                <div class="trvright">
                    <h4>推荐餐馆<span><a href="specialfood.aspx">MORE</a></span></h4>
                    <%if (resturants != null && resturants.Count > 0)
                      {
                          var firstRest = resturants.First();
                          if (firstRest.isrecommend == 1)
                          {
                    %>
                    <img src="css/images/commend.png" class="cmd" />
                    <%
                          }
                          if (!string.IsNullOrEmpty(firstRest.img))
                          {
                    %>
                    <img src="<%=firstRest.img %>" class="mark" />
                    <%}%>
                    <div>
                        <strong><%=Utility.CutString(firstRest.resturantname,9,false) %></strong>
                        <%=Utility.CutString(Utility.StripHtml(firstRest.introduce),25,true) %><a href="restdetail.aspx?id=<%=firstRest.id %>" target="_blank">【详情】</a>
                    </div>
                    <ul>
                        <%for (int i = 1; i < resturants.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var rest = resturants[i];
                        %>
                        <li><span><%=tag %></span><a href="restdetail.aspx?id=<%=rest.id %>" target="_blank"><%=Utility.CutString(rest.resturantname,9,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>
            </div>
            <!--住-->
            <div class="travelbox">
                <h4>酒店推荐<span><a href="travelhotel.aspx">MORE</a></span></h4>
                <div class="trvleft">
                    <%if (hotels != null && hotels.Count > 0)
                      {
                          var firstHotel = hotels.First();
                          if (firstHotel.isrecommend == 1)
                          {
                    %>
                    <img src="css/images/commend.png" class="cmd" style="top: -11px;" />
                    <%
                          }
                          if (!string.IsNullOrEmpty(firstHotel.img))
                          {
                    %>
                    <img src="<%=firstHotel.img %>" class="mark" />
                    <%}
                          else
                          { %>
                    <img src="css/images/tmp03.png" class="mark" />
                    <%} %>
                    <div>
                        <strong><%=Utility.CutString(firstHotel.hotelname,9,false) %></strong>
                        <%=Utility.CutString(Utility.StripHtml(firstHotel.introduce),13,true) %><a href="travelhoteldetail.aspx?id=<%=firstHotel.id %>" target="_blank">【详情】</a><br />
                        <a href="travelhoteldetail.aspx?id=<%=firstHotel.id %>" target="_blank">
                            <img src="css/images/btn02.png" border="0" /></a>
                    </div>
                    <ul>
                        <%for (int i = 1; i < hotels.Count && i < 5; i++)
                          {
                              var tag = (i + 1).ToString();
                              var hotel = hotels[i];
                        %>
                        <li><span><%=tag %></span><a href="travelhoteldetail.aspx?id=<%=hotel.id %>" target="_blank"><%=Utility.CutString(hotel.hotelname,9,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>


                <div class="trvright">
                    <%if (hotels != null && hotels.Count > 6)
                      {
                          var firstHotel = hotels[5];
                          if (firstHotel.isrecommend == 1)
                          {
                    %>
                    <img src="css/images/commend.png" class="cmd" style="top: -11px;" />
                    <%
                          }
                          if (!string.IsNullOrEmpty(firstHotel.img))
                          {
                    %>
                    <img src="<%=firstHotel.img %>" class="mark" />
                    <%}
                          else
                          { %>
                    <img src="css/images/tmp03.png" class="mark" />
                    <%} %>
                    <div>
                        <strong><%=Utility.CutString(firstHotel.hotelname,9,false) %></strong>
                        <%=Utility.CutString(Utility.StripHtml(firstHotel.introduce),13,true) %><a href="travelhoteldetail.aspx?id=<%=firstHotel.id %>" target="_blank">【详情】</a><br />
                        <a href="travelhoteldetail.aspx?id=<%=firstHotel.id %>" target="_blank">
                            <img src="css/images/btn02.png" border="0" /></a>
                    </div>
                    <ul>
                        <%for (int i = 6; i < hotels.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var hotel = hotels[i];
                        %>
                        <li><span><%=tag %></span><a href="travelhoteldetail.aspx?id=<%=hotel.id %>" target="_blank"><%=Utility.CutString(hotel.hotelname,9,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>

            </div>

            <!-- 行-->
            <div class="travelbox">
                <h4>交通指南<span><a href="traffic.aspx">MORE</a></span></h4>
                <%if (traffics != null && traffics.Count > 0)
                  {
                      var firstTraffic = traffics.First();
                      if (!string.IsNullOrEmpty(firstTraffic.img))
                      {
                %>
                <img src="<%=firstTraffic.img %>" class="mark" />
                <%}
                      else
                      { %>
                <img src="css/images/tmp03.png" class="mark" />
                <%} %>
                <div>
                    <strong><a href="travelguideview.aspx?id=<%=firstTraffic.id %>" target="_blank"><%=firstTraffic.title %></a></strong>
                    <%=Utility.CutString(Utility.StripHtml(firstTraffic.content),111,true) %><a href="travelguideview.aspx?id=<%=firstTraffic.id %>" target="_blank">【详情】</a>
                </div>
                <div class="clear"></div>
                <div class="trvleft">
                    <ul>
                        <%for (int i = 1; i < traffics.Count && i < 5; i++)
                          {
                              var tag = (i + 1).ToString();
                              var traffic = traffics[i];
                        %>
                        <li><span><%=tag %></span><a href="travelguideview.aspx?id=<%=traffic.id %>" target="_blank"><%=Utility.CutString(traffic.title,9,false) %></a></li>
                        <%} %>
                    </ul>
                </div>

                <div class="trvright">
                    <ul>
                        <%for (int i = 5; i < traffics.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var traffic = traffics[i];
                        %>
                        <li><span><%=tag %></span><a href="travelguideview.aspx?id=<%=traffic.id %>" target="_blank"><%=Utility.CutString(traffic.title,9,false) %></a></li>
                        <%} %>
                    </ul>

                </div>
                <%} %>
            </div>

            <!--游-->
            <div class="travelbox">
                <div class="trvleft">
                    <img src="css/images/commend.png" class="cmd" />
                    <h4>景点预订<span><a href="sceniclist.aspx">MORE</a></span></h4>
                    <%if (scenes != null && scenes.Count > 0)
                      {
                          var firstScene = scenes.First();
                    %>
                    <%if (!string.IsNullOrEmpty(firstScene.img))
                      { %>
                    <img src="<%=firstScene.img %>" class="mark" />
                    <%}
                      else
                      { %>
                    <img src="css/images/tmp03.png" class="mark" />
                    <%} %>
                    <div>
                        <strong><%=firstScene.scenename %></strong>
                        <%=Utility.CutString(Utility.StripHtml(firstScene.introduce),15,true) %><a href="scenicdetail.aspx?id=<%=firstScene.id %>" target="_blank">【详情】</a><br />
                        <a href="scenicdetail.aspx?id=<%=firstScene.id %>" target="_blank">
                            <img src="css/images/btn02.png" border="0" /></a>
                    </div>
                    <ul>
                        <%for (int i = 1; i < scenes.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var scene = scenes[i];
                        %>
                        <li><span><%=tag %></span><a href="scenicdetail.aspx?id=<%=scene.id %>" target="_blank"><%=Utility.CutString(scene.scenename,10,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>

                <div class="trvright">
                    <img src="css/images/commend.png" class="cmd" />
                    <h4>线路预订<span><a href="travelline.aspx">MORE</a></span></h4>
                    <%if (lines != null && lines.Count > 0)
                      {
                          var firstLine = lines.First();
                    %>
                    <%if (!string.IsNullOrEmpty(firstLine.img))
                      { %>
                    <img src="<%=firstLine.img %>" class="mark" />
                    <%}
                      else
                      { %>
                    <img src="css/images/tmp03.png" class="mark" />
                    <%} %>
                    <div>
                        <strong><%=Utility.CutString(firstLine.title,9,false) %></strong>
                        <%=Utility.CutString(Utility.StripHtml(firstLine.introduce),15,true) %><a href="traveldetail.aspx?id=<%=firstLine.id %>" target="_blank">【详情】</a>
                    </div>
                    <ul>
                        <%for (int i = 1; i < lines.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var line = lines[i];
                        %>
                        <li><span><%=tag %></span><a href="traveldetail.aspx?id=<%=line.id %>" target="_blank"><%=Utility.CutString(line.title,10,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>

            </div>
            <!--购-->
            <div class="travelbox">
                <div class="trvleft">
                    <img src="css/images/commend.png" class="cmd" />
                    <h4>特色商品<span><a href="specialtyproducts.aspx">MORE</a></span></h4>
                    <%if (goods != null && goods.Count > 0)
                      {
                          var firstGoods = goods.First();
                    %>
                    <%if (!string.IsNullOrEmpty(firstGoods.logo))
                      { %>
                    <img src="<%=firstGoods.logo %>" class="mark" />
                    <%}
                      else
                      { %>
                    <img src="css/images/tmp03.png" class="mark" />
                    <%} %>
                    <div>
                        <strong><a href="specialtyproductsdetail.aspx?id=<%=firstGoods.id%>" target="_blank"><%=Utility.CutString(firstGoods.title,9,false) %></a></strong>
                        <%=Utility.CutString(Utility.StripHtml(firstGoods.introduce),12,true) %><a href="specialtyproductsdetail.aspx?id=<%=firstGoods.id%>" target="_blank">【详情】</a>
                    </div>
                    <ul>
                        <%for (int i = 1; i < goods.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var g = goods[i];
                        %>
                        <li><span><%=tag %></span><a href="specialtyproductsdetail.aspx?id=<%=g.id%>" target="_blank"><%=Utility.CutString(g.title,9,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>

                <div class="trvright">
                    <img src="css/images/commend.png" class="cmd" />
                    <h4>推荐购物点<span><a href="shop.aspx">MORE</a></span></h4>
                    <%if (shoppingMalls != null && shoppingMalls.Count > 0)
                      {
                          var firstShoppingMall = shoppingMalls.First();
                    %>
                    <%if (!string.IsNullOrEmpty(firstShoppingMall.logo))
                      { %>
                    <img src="<%=firstShoppingMall.logo %>" class="mark" />
                    <%}
                      else
                      { %>
                    <img src="css/images/tmp03.png" class="mark" />
                    <%} %>
                    <div>
                        <strong><%=Utility.CutString(firstShoppingMall.title,9,false) %></strong>
                        <a href="shopdetail.aspx?id=<%=firstShoppingMall.id %>" target="_blank"><%=Utility.CutString(Utility.StripHtml(firstShoppingMall.introduce),12,true) %>【详情】</a>
                    </div>
                    <ul>
                        <%for (int i = 1; i < shoppingMalls.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var sm = shoppingMalls[i];
                        %>
                        <li><span><%=tag %></span><a href="shopdetail.aspx?id=<%=sm.id %>" target="_blank"><%=Utility.CutString(sm.title,9,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>

            </div>

            <!--娱-->
            <div class="travelbox">
                <div class="trvleft">
                    <img src="css/images/commend.png" class="cmd" />
                    <h4>娱乐活动<span><a href="recreation.aspx">MORE</a></span></h4>
                    <%if (entainments != null && entainments.Count > 0)
                      {
                          var firstEntainment = entainments.First();
                    %>
                    <%if (!string.IsNullOrEmpty(firstEntainment.logo))
                      { %>
                    <img src="<%=firstEntainment.logo %>" class="mark" />
                    <%}
                      else
                      { %>
                    <img src="css/images/tmp03.png" class="mark" />
                    <%} %>
                    <div>
                        <strong><%=Utility.CutString(firstEntainment.title,9,false) %></strong>
                        <a href="recreationdetail.aspx?id=<%=firstEntainment.id %>" target="_blank"><%=Utility.CutString(Utility.StripHtml(firstEntainment.introduce),12,true) %>【详情】</a>
                    </div>
                    <ul>
                        <%for (int i = 1; i < entainments.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var en = entainments[i];
                        %>
                        <li><span><%=tag %></span><a href="recreationdetail.aspx?id=<%=en.id %>" target="_blank"><%=Utility.CutString(en.title,9,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>

                <div class="trvright">
                    <img src="css/images/commend.png" class="cmd" />
                    <h4>农家乐<span><a href="farmhouse.aspx">MORE</a></span></h4>
                    <%if (nongjiales != null && nongjiales.Count > 0)
                      {
                          var firstNongjiale = nongjiales.First();
                    %>
                    <%if (!string.IsNullOrEmpty(firstNongjiale.logo))
                      { %>
                    <img src="<%=firstNongjiale.logo %>" class="mark" />
                    <%}
                      else
                      { %>
                    <img src="css/images/tmp03.png" class="mark" />
                    <%} %>
                    <div>
                        <strong><%=Utility.CutString(firstNongjiale.title,9,false) %></strong>
                        <a href="nongjialedetail.aspx?id=<%=firstNongjiale.id %>" target="_blank"><%=Utility.CutString(Utility.StripHtml(firstNongjiale.introduce),12,true) %>【详情】</a>
                    </div>
                    <ul>
                        <%for (int i = 1; i < nongjiales.Count; i++)
                          {
                              var tag = (i + 1).ToString();
                              var en = nongjiales[i];
                        %>
                        <li><span><%=tag %></span><a href="nongjialedetail.aspx?id=<%=en.id %>" target="_blank"><%=Utility.CutString(en.title,9,false) %></a></li>
                        <%} %>
                    </ul>
                    <%} %>
                </div>

            </div>
            <img src="css/images/img01.png" />
            <a href="#">
                <img src="css/images/tmp02.png" style="margin-top: 5px; border: 0;" /></a><img src="css/images/img01.png" />

        </div>

        <!--右侧-->
        <div class="pageright">
            <div class="onlineservice">
                <img src="css/images/online.png" border="0" usemap="#Map2" />
                <map name="Map2" id="Map2">
                    <area shape="rect" coords="55,82,118,114" href="#" />
                    <area shape="rect" coords="167,83,229,114" href="#" />
                    <area shape="rect" coords="20,125,244,205" href="#" />
                    <area shape="rect" coords="15,283,135,305" href="#" />
                </map>
            </div>
            <img src="css/images/tool0.png" id="tool" border="0" usemap="#Map" />
            <map name="Map" id="Map">
                <area shape="rect" coords="13,28,66,74" onmouseover="changebg(1);" href="http://www.17u.cn/scenery/" target="_blank" />
                <area shape="rect" coords="104,28,157,74" onmouseover="changebg(2);" href="http://bus.17u.cn/" target="_blank" />
                <area shape="rect" coords="193,28,248,72" onmouseover="changebg(3);" href="http://www.114best.com/tel/" target="_blank" />
                <area shape="rect" coords="14,85,65,124" href="http://www.sqk.com.cn/index.asp" target="_blank" onmouseover="changebg(4);" />
                <area shape="rect" coords="104,87,159,124" onmouseover="changebg(5);" href="http://www.17u.cn/tianqi/" target="_blank" />
                <area shape="rect" coords="194,87,248,125" href="http://www.17u.cn/flight/flightyuyue.aspx" target="_blank" onmouseover="changebg(6);" />
            </map>

            <div class="magz">
                <%if (LatestMagazine != null)
                  {
                      if (!string.IsNullOrEmpty(LatestMagazine.logo))
                      {%>
                <img src="<%=LatestMagazine.logo %>" style="width: 112px; height: 138px;" />
                <%} %>
                <div>
                    <h6>电子杂志<span>[<a href="downloadmag.aspx">全部</a>]</span></h6>
                    <span><%=Utility.CutString(Utility.StripHtml(LatestMagazine.introduce),10,false) %></span>
                    <input type="button" value=" " onclick="down('<%=LatestMagazine.pdfpath %>    ')" />
                </div>
                <%} %>
            </div>

            <img src="css/images/downicon.png" class="downicon" usemap="#Map1" />
            <map name="Map1" id="Map1">
                <area shape="rect" coords="1,0,129,73" href="downloadscreen.aspx" />
                <area shape="rect" coords="136,2,261,71" href="downloadwall.aspx" />
            </map>
        </div>
        <div class="clear"></div>
    </div>

    <!--美文诗词和微博-->
    <div class="ipage">
        <div class="morecolumn">
            <div class="indexarticle">
                <ul class="arlist">
                    <%if (essays != null && essays.Count > 0)
                      {
                          foreach (var item in essays)
                          {
                    %>
                    <li><span></span><a href="essayshow.aspx?id=<%=item.id %>" target="_blank"><%=Utility.CutString(item.title,9,false) %></a></li>
                    <%}
                      }
                    %>
                    <li class="more"><a href="essay.aspx">MORE</a></li>
                </ul>

                <div class="switch">
                    <span class="title">影像吴江</span>
                    <span class="title">美图欣赏</span>
                    <span class="title" style="margin-right: 0;">游记攻略</span>

                    <div class="play">
                        <div class="w_ctr" id="ctr1">
                            <div class="JQ-slide">
                                <ul class="JQ-slide-content">
                                    <li><a href="videoplay.aspx?id=<%=FirstViedoWithImage.id %>">
                                        <img src="<%=FirstViedoWithImage.imgpath %>" alt="" /><span></span></a>
                                    </li>
                                </ul>
                                <ul class="JQ-slide-nav">
                                    <li class="on">1</li>
                                </ul>
                            </div>
                            <br />
                            <div class="more"><a href="video.aspx">MORE</a></div>
                        </div>
                    </div>

                    <div class="play">
                        <div class="w_ctr" id="ctr2">
                            <div class="JQ-slide">
                                <ul class="JQ-slide-content">
                                    <%if (pictures != null && pictures.Count > 0)
                                      {
                                          foreach (var item in pictures)
                                          {
                                    %>

                                    <li><a href="galleryshow.aspx?id=<%=item.galleryid %>" target="_blank">
                                        <img src="<%=item.smallImg %>" alt="" /><span></span></a>
                                    </li>
                                    <%}
                                      } %>
                                </ul>
                                <ul class="JQ-slide-nav">
                                    <%if (pictures != null && pictures.Count > 0)
                                      {
                                          string on = "";
                                          for (var i = 0; i < pictures.Count; i++)
                                          {
                                              if (i == 0)
                                              {
                                                  on = "class=\"on\"";
                                              }
                                    %>
                                    <li><%=(i+1) %></li>
                                    <%}
                                      } %>
                                </ul>
                            </div>
                            <br />
                            <div class="more"><a href="gallery.aspx">MORE</a></div>
                        </div>
                    </div>


                    <div class="play">
                        <div class="tr">
                            <%if (youjis != null && youjis.Count > 0)
                              {
                                  var firstYouji = youjis.First();
                            %>
                            <h4><a href="travelguideview.aspx?id=<%=firstYouji.id %>" target="_blank"><%=firstYouji.title %></a></h4>
                            <%if (!string.IsNullOrEmpty(firstYouji.img))
                              { %>
                            <a href="travelguideview.aspx?id=<%=firstYouji.id %>" target="_blank">
                                <img src="<%=firstYouji.img %>" class="mark" /></a>
                            <%}
                              else
                              { %>
                            <a href="travelguideview.aspx?id=<%=firstYouji.id %>" target="_blank">
                                <img src="css/images/tmp07.png" class="mark" /></a>
                            <%} %>
                            <div>
                                <strong><%=firstYouji.title %></strong>
                                <a href="travelguideview.aspx?id=<%=firstYouji.id %>" target="_blank"><%=Utility.CutString(Utility.StripHtml(firstYouji.content),12,true) %>【详情】</a>
                            </div>
                            <ul class="arlist" style="padding-top: 5px; width: 224px;">
                                <%for (int i = 1; i < youjis.Count; i++)
                                  {
                                      var tag = (i + 1).ToString();
                                      var en = youjis[i];
                                %>
                                <li><span></span><a href="travelguideview.aspx?id=<%=en.id %>" target="_blank"><%=Utility.CutString(en.title,9,false) %></a></li>
                                <%} %>
                                <li class="more"><a href="travelguide.aspx">MORE</a></li>
                            </ul>
                            <%} %>
                        </div>
                    </div>

                </div>
            </div>

            <div class="weibo">
                <iframe width="440" height="260" class="share_self" frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=440&height=260&fansRow=2&ptype=1&speed=300&skin=5&isTitle=0&noborder=0&isWeibo=1&isFans=0&uid=1924008197&verifier=240a04bd&dpc=1"></iframe>
            </div>
        </div>
        <img src="css/images/morecolumnbottom.png" />
    </div>

    <div class="ipage">
        <div class="sitelink">
            <h5>友情链接</h5>
            <div>
                <%foreach (var item in links)
                  { %>
                <a href="<%=item.url %>" target="_blank"><%=item.title %></a> &nbsp;&nbsp;|&nbsp;&nbsp; 
                <%} %>
            </div>
        </div>
    </div>

</asp:Content>


